package cn.iocoder.yudao.module.mapper;

import cn.iocoder.yudao.module.pojo.Score;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ScoreMapper {
    void insertScore(Score score);
    void updateScore(Score score);
    void deleteScore(Score score);
    Score getScoreById(Long id);
    @Select("select * from score where student_id=#{StudentId}")
    List<Score> getScoreByStudentId(Long StudentId);
}
